package org.example.base;

/**
 * @author huangy
 * @description
 * @since 2022/11/9 19:50
 **/
public class BaseConstants {
    /**
     * 状态码
     */
    //成功
    public static final int SUCCESS_CODE = 1;
    //失败
    public static final int FAIL_CODE = 0;
    //异常
    public static final int EXP_CODE = 500;

    /**
     * 返回信息
     */
    //成功
    public static final String SUCCESS_MSG = "操作成功";
    //失败
    public static final String FAIL_MSG = "操作失败";
    //操作异常
    public static final String EXP_MSG = "操作异常";

    private BaseConstants() {
        throw new UnsupportedOperationException();
    }
}
